package cn.yiyuan.service.impl;

import cn.yiyuan.base.service.Imp.BaseServiceimpl;
import cn.yiyuan.domain.Employee;
import cn.yiyuan.mapper.EmpMapper;
import cn.yiyuan.mapper.EmployeeMapper;
import cn.yiyuan.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ym-t
 * @since 2023-10-16
 */
@Service

public class EmployeeServiceImpl extends BaseServiceimpl<Employee> implements IEmployeeService {

        @Autowired
        private EmployeeMapper empMapper;
        @Override
        public Employee queryByName(Employee employee){
                return empMapper.queryByName(employee);
        }

        }
